/**
 * 
 */
package santeclair.notes.parametre.dto;

import org.codehaus.jackson.annotate.JsonSubTypes;
import org.codehaus.jackson.annotate.JsonSubTypes.Type;
import org.codehaus.jackson.annotate.JsonTypeInfo;

/**
 * @author cquintin
 * 
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "codeRetour")
@JsonSubTypes(value = {@Type(value = santeclair.notes.parametre.dto.RetourVueKO.class, name = "KO"),
        @Type(value = santeclair.notes.parametre.dto.RetourVueOK.class, name = "OK")})
public interface RetourVueDto {

    /**
     * 
     * @return
     */
    public String getCodeRetour();

}
